package com.md.common.utils.wechat.model;

import com.md.common.utils.json.JSONUtil;

import java.io.Serializable;

public class WxJsApiTicket implements Serializable {
	private static final long serialVersionUID = -6747804983647630652L;

	/**
	 * 获取到的凭证
	 */
	private String ticket;
	/**
	 * 凭证有效时间，单位：秒
	 */
	private Integer expires_in;

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	public Integer getExpires_in() {
		return expires_in;
	}

	public void setExpires_in(Integer expires_in) {
		this.expires_in = expires_in;
	}

	@Override
	public String toString() {
		return JSONUtil.toJSON(this);
	}
}
